package com.ruoyi.archive.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼栋信息对象 archive_building
 * 
 * @author yepanpan
 * @date 2025-04-17
 */
@Data
public class ArchiveBuilding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;

    /** 单位/场馆 */
    @Excel(name = "单位/场馆")
    private String deptName;
    @NotNull
    private Long deptId;

    /** 类型 */
    @Excel(name = "类型", dictType="building_type", comboReadDict=true)
    @NotNull
    private String type;

    /** 楼栋编码 */
    @Excel(name = "楼栋编码")
    @NotNull
    private String code;

    /** 楼栋名称 */
    @Excel(name = "楼栋名称")
    @NotNull
    private String name;

    /** 经度 */
    //@Excel(name = "经度")
    private BigDecimal lng;

    /** 纬度 */
    //@Excel(name = "纬度")
    private BigDecimal lat;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交付日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date buildDate;

    /** 图例 */
    private String imgs;

    /** 状态(0:正常，1未交付，2废弃) */
    @Excel(name = "状态", dictType="building_status", comboReadDict=true)
    @NotNull
    private String status;

    /** 排序 */
    @Excel(name = "排序")
    private Integer orderNum;


}
